home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970326-19970626 / 000177_news@newsmaster….columbia.edu _Thu May 8 13:16:44 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA08124
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Thu, 8 May 1997 13:16:42 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id NAA26982
  7.     for kermit.misc@watsun; Thu, 8 May 1997 13:16:41 -0400 (EDT)
  8. Path: news.columbia.edu!panix!news.mathworks.com!news-peer.sprintlink.net!Sprint!news-east.sprintlink.net!news-dc-26.sprintlink.net!news-fw-12.sprintlink.net!news.sprintlink.net!news-fw-6.sprintlink.net!myriad!mail
  9. From: Frank da Cruz <fdc@watsun.cc.columbia.edu>
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: Help with dial timeout (noise?) problem
  12. Date: 8 May 1997 13:00:14 -0400
  13. Organization: Mail to Usenet Gateway
  14. Lines: 46
  15. Message-ID: <CMM.0.90.4.863109000.fdc@watsun.cc.columbia.edu>
  16. To: "Michael Kairys" <kairys@mi.sl.com>
  17. cc: comp.protocols.kermit.misc@myriad.alias.net
  18. In-Reply-To: Your message of Thu, 8 May 1997 12:17:51 -0400 (EDT)
  19. Xref: news.columbia.edu comp.protocols.kermit.misc:7000
  20.  
  21. Our news server has been busted for about a week -- we can receive but not
  22. post.  I'll try a roundabout method here, let's see if it works...
  23.  
  24. > Kermit 95 on Windows NT 4.0, USR Sportster modem..
  25. > I'm trying to work with login scripts, using the supplied login.ksc file,
  26. > to log into a SunOS host via a terminal server. It seems I never get to my
  27. > script, but rather hit a dial timeout and am returned to the Kermit prompt.
  28. > I can then connect, and I see half a dozen garbage characters at the top of
  29. > the screen.
  30. You need to modify the script to take the terminal server dialog into account:
  31. typically this involves waiting (INPUT) for the terminal server prompt and
  32. then sending (OUTPUT) the name or address of the system you want to connect
  33. to.
  34.  
  35. > And if I get past that point, I would like to know how to issue the
  36. > equivalent of an Alt-R from a script.
  37. > I would like to do this after the login before the script exits, to fix a
  38. > number-of-rows problem. I am telling the Sun system I am a VT100 (that's
  39. > the only VT it knows about) and it seems to set me to 24 rows. even though
  40. > I do an stty rows 48 in my .cshrc and Kermit  thinks my window is 49 rows.
  41. > Alt-R seems to fix it. Of course perhaps there's a better solution? Again,
  42. > suggestions welcome!
  43. There is presently no way to reset the terminal from command mode, but we
  44. will probably be adding this in a future release.  However, that's not the
  45. solution in your case.  Instead, once you get the host shell prompt, give
  46. the following command:
  47.  
  48.   `eval resize`
  49.  
  50. (with the "backquotes").  This should make the host recognize your current
  51. screen size.
  52.  
  53. You should also be able to pick up VT220 and 320 termcap entries for the
  54. Sun almost anywhere -- I'm surprised you don't have them already.  Maybe there
  55. is a spelling difference...  Try:
  56.  
  57.   cd /etc
  58.   grep -i vt termcap
  59.  
  60. On my local SunOS system, this picks up over 100 lines!  Remember terminal
  61. names are case sensitive in UNIX.
  62.  
  63. - Frank